<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<script src="./bulid/bundle.js"></script>
<body>
  <h1>ES6模块化</h1>
</body>
</html>

<!-- <script>
  let obj = {
      name: "lily",
      todo() {
         console.log("eat");
      }
}

console.log(obj.name);
obj.todo()

//修改
obj.name = "xiaowang";
console.log(obj.name);
obj.todo = () => {
     console.log("someThing~")
}

obj.todo()
// console.log(obj.name);
// obj.todo();
</script> -->